import apibase from "@/api/apiBase";
import axios from "axios";

//区域统计
export const $statisticAreaList = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/statistic/areaList',
    data:params,
    instance,
  });
}

//年龄统计
export const $statisticAgeList = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/statistic/ageList',
    data:params,
    instance,
  });
}

//渠道统计
export const $statisticChannelList = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/statistic/channelList',
    data:params,
    instance,
  });
}

//数据看板
export const $statistic_index = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/statistic_index/index',
    data:params,
    instance,
  });
}

//市区分布图
export const $statistic_indexArea = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/statistic_index/area',
    data:params,
    instance,
  });
}




